<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>轻点爬虫{{env}}通知</title>
    <style type="text/css">
        table {
            border-collapse: collapse;
        }

        table, td, th {
            border: 1px solid black;
            padding: 8px;
        }

        tr:nth-child(odd) {
            background: #C6E2FF;
        }

        tr:hover {
            background: #B3EE3A;
        }

        body {
            font-size: 18px;
            font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif, "宋体";
        }
    </style>
</head>
<body>
<h2>今天待办{{today_sum}}条</h2>
<table>
    <tr>
        <th>平台</th>
        <th>昨天爬取</th>
        <th>昨天处理</th>
        <th>今日爬取</th>
    </tr>
    {% for k,v in report_dict.items() %}
    <tr>
        <td width="50%">{{k}}</td>
        <td>{{v.yesterday_count}}</td>
        <td>{{v.yesterday_used_count}}</td>
        <td>{{v.today_10_count}}</td>
    </tr>
    {% endfor %}
    <tr>
        <td>总计</td>
        <td>{{yesterday_sum}}</td>
        <td>{{yesterday_used_sum}}</td>
        <td>{{today_sum}}</td>
    </tr>
</table>
<hr>
线上内容：<br>
昨天总计：{{total_yesterday}}条<br>
今天总计：{{total_today}}条<br>
</body>
</html>